package net.wanho.employ.mapper;

import net.wanho.employ.dto.AdminDTO;
import net.wanho.employ.dto.LoginDTO;
import net.wanho.employ.entity.Admin;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2024-03-22 15:43
 * Description：<描述>
 */
public interface AdminMapper {
    Admin selectOne(LoginDTO loginDTO);

    List<Admin> query(AdminDTO adminDTO);

    void insert(Admin admin);

    Admin selectByUsername(String username);

    Admin selectById(String adminid);

    void update(Admin admin);
}
